SGGetChannelTimeScale
TheSGGetChannelTimeScale
function allows you to retrieve a channel's time scale.
pascal ComponentResult SGGetChannelTimeScale (SGChannel c, TimeScale *scale);
c
- Identifies the channel for this operation. You provide your
connection identifier. You connect to a channel component by calling theSGNewChannel
orSGNewChannelFromComponent
function; these functions are described on page 5-29 and page 5-30, respectively.scale
- Contains a pointer to a time scale structure. The channel component places information about its time scale into this structure.
DESCRIPTION
The time scale you obtain by calling theSGGetChannelTimeScale
typically corresponds to the time scale of the media that has been created by the channel. You can use this time scale in your data function, which you assign with theSGSetDataProc
function (discussed on page 5-32).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help